<!--
  This file is a part of the open-eBackup project.
  This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0.
  If a copy of the MPL was not distributed with this file, You can obtain one at
  http://mozilla.org/MPL/2.0/.
  
  Copyright (c) [2024] Huawei Technologies Co.,Ltd.
  
  THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND,
  EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,
  MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
  -->

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html lang="en-us" xml:lang="en-us">
 <head>
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="DC.Type" content="topic">
  <meta name="DC.Title" content="Services Unable to Run Properly Because the Database Log Space Is Used Up">
  <meta name="product" content="">
  <meta name="DC.Relation" scheme="URI" content="en-us_topic_0000002200098149.html">
  <meta name="prodname" content="">
  <meta name="version" content="">
  <meta name="brand" content="">
  <meta name="DC.Publisher" content="20250306">
  <meta name="prodname" content="csbs">
  <meta name="documenttype" content="usermanual">
  <meta name="DC.Format" content="XHTML">
  <meta name="DC.Identifier" content="EN-US_TOPIC_0000002200012553">
  <meta name="DC.Language" content="en-us">
  <link rel="stylesheet" type="text/css" href="public_sys-resources/commonltr.css">
  <title>Services Unable to Run Properly Because the Database Log Space Is Used Up</title>
 </head>
 <body style="clear:both; padding-left:10px; padding-top:5px; padding-right:5px; padding-bottom:5px">
  <a name="EN-US_TOPIC_0000002200012553"></a><a name="EN-US_TOPIC_0000002200012553"></a>
  <h1 class="topictitle1">Services Unable to Run Properly Because the Database Log Space Is Used Up</h1>
  <div>
   <div class="section">
    <h4 class="sectiontitle">Symptoms</h4>
    <ol>
     <li>The "A user fails to back up database data" message is displayed when Informix/GBase 8s executes a backup job.</li>
     <li>The "Failed To Execute A Data Restoration Task" message is displayed when Informix/GBase 8s executes a restoration job.</li>
    </ol>
   </div>
   <div class="section">
    <h4 class="sectiontitle">Possible Cause</h4>
    <p>The log storage space of the database is used up. As a result, database commands cannot be executed, affecting services.</p>
   </div>
   <div class="section">
    <h4 class="sectiontitle">Procedure</h4>
    <ol>
     <li><span>Log in to the Informix/GBase 8s host.</span></li>
     <li><span>For an Informix database, run the <strong id="EN-US_TOPIC_0000002200012553__en-us_topic_0000002200098125_b096445305220">su - informix</strong> command to switch to the Informix database user. For the GBase 8s database, run the <strong id="EN-US_TOPIC_0000002200012553__en-us_topic_0000002200098125_b4835175993915">su - gbasedbt</strong> command to switch to the GBase 8s database user.</span></li>
     <li><span>Run the <strong>onstat -l</strong> command to check the database status.</span><p></p><p><span><img src="en-us_image_0000002200098197.png"></span></p> <p></p></li>
     <li><span>Run the <strong>onbar -b -l -c</strong> command to clear the log space.</span><p></p>
      <div class="note">
       <img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span>
       <div class="notebody">
        <p>For an active/standby cluster, clear the log space on both the active and standby nodes.</p>
       </div>
      </div> <p></p></li>
     <li><span>Perform the backup or restoration job again.</span></li>
    </ol>
   </div>
   <div class="section">
    <h4 class="sectiontitle">Suggestion</h4>
    <p>None.</p>
   </div>
   <div class="section">
    <h4 class="sectiontitle">Reference</h4>
    <p>None.</p>
   </div>
  </div>
  <div>
   <div class="familylinks">
    <div class="parentlink">
     <strong>Parent topic:</strong> <a href="en-us_topic_0000002200098149.html">FAQs</a>
    </div>
   </div>
  </div>
 </body>
</html>